<?php
/**
 * Created by PhpStorm
 * User: honglin
 * Date: 2022/8/8
 * Time: 下午4:31
 */

namespace App\Constants;

use Hyperf\Constants\AbstractConstants;
use Hyperf\Constants\Annotation\Constants;

/**
 * @Constants()
 * @method static string getMessage(int $code)
 */
class OceanEvent extends AbstractConstants
{
    /**
     * @Message("垃圾清理")
     */
    const OCEAN_USER_RUBBISH_CLEAR = 2;

    /**
     * @Message("广告")
     */
    const OCEAN_USER_AD = 3;

    /**
     * @Message("签到")
     */
    const OCEAN_SIGN_IN = 1;
    
    /**
     * @Message("答题")
     */
    const OCEAN_QUESTION = 4;
}